extends ../layout

block content
    .container
        .row
            each item in movies
                .col-md-2
                    .thumbnail
                        a(href="/detail/#{item._id}")
                            img(src="#{item.poster}", alt="#{item._itd}")
                        .caption
                            h2 #{item.title}
                            p
                                a(href="/detail/#{item._id}",class="btn btn-primary") 观看
                    